package singleton.demo1;

public class MyRunnable implements Runnable{

    @Override
    public synchronized void run() {

        XieFactory xieFactory = XieFactory.getInstance();
        System.out.println(Thread.currentThread().getName()+"鞋厂为"+xieFactory);
    }
}
